<div class="panel panel-default" ng-controller="QRListCtrl">
	<div class="panel-heading">
		订票管理 / 二维码生成记录
		<span style="float: right;margin-top: -7px;height: 0px">
			<button type="submit" class="btn m-b-xs w-xs btn-info" ui-sref="app.booking.start()">返回</button>
		</span>
	</div>
	<toaster-container toaster-options="{'position-class': 'toast-top-right', 'close-button':true}"></toaster-container>
	<div class="row wrapper m-n">
		<form class="bs-example form-horizontal ng-pristine ng-valid">
			<div class="form-group col-md-4">
				<div class="col-md-11">
					<input type="text" ng-model="queryMap.terminalName" class="form-control" placeholder="终点站">
				</div>
			</div>
			<div class="form-group col-md-4">
				<div class="col-md-11">
					<button type="button" class="btn btn-info" ng-click="query()">查询</button>
				</div>
			</div>
		</form>
	</div>
	<div class="table-responsive">
		<table class="table table-striped b-t b-light">
			<thead>
				<tr>
					<th style="width:10px;">
					</th>
					<th style="width:100px;">起点站</th>
					<th style="width:100px;">终点站</th>
					<th style="width: 70px;">操作</th>
					<th style="width: 60px;"></th>
				</tr>
			</thead>
			<tbody>
				<tr ng-repeat="qr in dataList">
					<td></td>
					<td>{{qr.start.name}}</td>
					<td>{{qr.terminalName}}</td>
					<td>
						<a class="text-base label bg-info" tooltip="查看二维码" ng-click="open(qr)">查看二维码</a>
					</td>
					<td>
						<a href tooltip="删除"><i class="fa fa-times fa-fw" ng-click="del(qr)"></i></a>
					</td>
				</tr>
				<tr ng-show="dataList==''">
					<td colspan="5" style="text-align: center;">暂无二维码生成记录</td>
				</tr>
			</tbody>
		</table>
	</div>
	<page-footer/>
</div>